Skip to main content

MultiLanguageText Constructors

An object defining constructors for the MultiLanguageText class.

MultiLanguageText()

Initializes a new instance of the MultiLanguageText class with default values.

The constructor sets the following default values:

  • UserCulture is set to an empty string.
  • DefaultCulture is set to an empty string.
  • EnableMultiLanguageText is set to false.

MultiLanguageText(dictionary)

Initializes a new instance of the MultiLanguageText class with the specified dictionary of language texts.

Parameters:

dictionary (required): Dictionary<string, string>
A dictionary containing language codes and their corresponding texts.

The constructor sets the following default values:

  • UserCulture is set to an empty string.
  • DefaultCulture is set to an empty string.
  • EnableMultiLanguageText is set to false.